home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
lk_100.arc
/
LOGKILL.DOC
< prev
next >
Wrap
Text File
|
1991-03-22
|
3KB
|
62 lines
===============================================================================
LogKill [1.00]
by
Jay Cadieux and Marc Dostaler
===============================================================================
The typical FidoNet point operator or SysOp has a myriad of utils
running to make the operation of his BBS, mailer, point system or
whatever easier for him/her. A lot of the utilities have log files or
report files, and these can sometimes grow to enormous sizes and hog up
his/her free disk space, which is often at a premium. Most people that
I know don't even need most of these log files once the util in question
is up and running correctly, or only needs them in an emergency
[malfunction, dupes being generated, failed sessions, ad nauseum]. This
program was designed to keep a watch on the size of these log files, and
delete them when they grow to a certain size. This will prevent them
from hogging up your disk space when you don't keep an eye on them
manually.
The heart of LogKill is its' configuration file, LOGKILL.CTL. A sample
one is included. It's format is pretty straight-forward: on the first
line, you put the FULL PATH to the log file that you want watched. On
the next line, you put the size in bytes (*NOT* kilo-bytes) that you
want as a limit for the file's size. If you only want LogKill to watch,
not delete the log file, set the limit to 999999 or something. ;-)
Repeat the procedure for each log file you want watched, without
skipping a line in between. LOGKILL will let you know, both on screen
and in the LOGKILL.RPT file, if one of the logfiles isn't there (a bad
pathname in LOGKILL.CTL is a possible cause). LOGKILL will let you know
if it can't find the LOGKILL.CTL in the current directory, both on
screen and in the log.
We suggest running LOGKILL.EXE once a day in your maintenance event, or
during a mail import or export routine in your master batch file.
There, a display will tell you the name of the log file(s) being
monitored, their size limit, their true size and the percentage of the
limit that the true size represents. If a log file exceeds its' size
limit, LogKill will delete it, and LogKill will inform you in a small
report file called LOGKILL.RPT (it is ironic that this file is a log file
of it's own!). ;-). It will also log all errors [LOGKILL.CTL file not
found, log file not found, etc].
LOGKILL is distributed as "freeware", where anyone can use it and give
it to anyone free of charge. You may not charge anyone for the
distribution, period. It is not released into the public domain, and we
retain all rights to the program. The program is offered "as is", and
while every effort has been made to eliminate all bugs, there are no
warranties, express or implied, period (other than to take up a small amount
of disk space) ;-). Using this program is an acceptance of the above
conditions. If policy, conscience or some other guiding force says that
you *HAVE* to pay for this program, give it to charity!
Please sent all suggestions, bug reports, etc. to:
Jay Cadieux
1:163/127.8@fidonet
AND/OR
Marc Dostaler
1:163/127.7@fidonet